	<tr>
		<td align="right">Pdfs existants</td>
		<td>
			<table>			
			<?php 
			// Affichage des pdf du lieu
			if (empty($model->pdfs))
			{
				?>
				<tr>
					<td>Aucun fichier</td>
				</tr>	
				<?php 			
			}
			else {
				foreach($model->pdfs as $pdf)
				{
					$pdf_path=$pdf->getFullPath();	
						
				?>
				<tr>
					<td><?php echo Chtml::link($pdf->path,$pdf_path,array('class'=>'texteSimple','target'=>'_blank'));?></td>
					<td><?php echo CHtml::link(Chtml::image(Yii::app()->baseUrl.'/images/icon-poubelle.png',''),Yii::app()->baseUrl.'/backend.php?r=pdf/delete&id='.$pdf->id, array('confirm' => 'Are you sure?'));?></td>
				</tr>	
				<?php 
				}
			}
			?>			
			</table>
		</td>
	</tr>
	
